package com.wugui.datax.admin.core.route.strategy;

import com.wugui.datatx.core.biz.model.ReturnT;
import com.wugui.datatx.core.biz.model.TriggerParam;
import com.wugui.datax.admin.core.route.ExecutorRouter;

import java.util.List;

/** Created by xuxueli on 17/3/10. */
public class ExecutorRouteFirst extends ExecutorRouter {

  @Override
  public ReturnT<String> route(TriggerParam triggerParam, List<String> addressList) {
    return new ReturnT<String>(addressList.get(0));
  }
}
